not required a field when checked not applicable checkbox in laravel
35
not required a field when checked not applicable checkbox in laravel -
// when some checked no checkbox and description field not required otherwise required
'description' => 'required_unless:descriptionNotApplicable,yes|max:150'